package org.stone.project.tx.handle;

import cn.hutool.extra.spring.SpringUtil;
import org.stone.project.tx.model.Message;
import org.stone.project.tx.prop.TxProp;
import org.stone.project.tx.sysEnum.ReceiveType;

import java.util.ArrayList;
import java.util.List;

/**
 * 消息更具发送不同的用户类别发送
 */
public interface MsgSendUserTypeHandler {
    /**
     * 获取处理用户类别
     * @return
     */
    ReceiveType getReceiveType();


    /**
     * 消息发送,返回发送成功的id
     * @param msg
     */
    void sendMsg(Message msg);
}
